package com.gsta.cdn.cdr.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.gsta.cdn.cdr.entity.ResultEntity;
import com.gsta.cdn.cdr.mapper.FileSizeMapper;
import com.gsta.cdn.cdr.mapper.HotSimilarMapper;
import com.gsta.cdn.cdr.service.FileSizeService;
import com.gsta.cdn.cdr.service.HotSimilarService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HotSimilarServiceImpl extends ServiceImpl<HotSimilarMapper, ResultEntity> implements HotSimilarService {
    @Override
    public List<Map<String, Object>> HotSimilar(String date, String percent, int page, int pageSize) {
        page= (page-1) * pageSize;
        return baseMapper.HotSimilar(date,percent,page,pageSize);
    }
}
